//
// Created by Wei on 2022/5/16.
//
#include "page_header.h"

unsigned short PAGE_HEADER::getPageHeapTop() const {
    return page_heap_top;
}

void PAGE_HEADER::setPageHeapTop(unsigned short pageHeapTop) {
    page_heap_top = pageHeapTop;
}

unsigned short PAGE_HEADER::getPageNHeap() const {
    return page_n_heap;
}

void PAGE_HEADER::setPageNHeap(unsigned short pageNHeap) {
    page_n_heap = pageNHeap;
}

unsigned short PAGE_HEADER::getPageFree() const {
    return page_free;
}

void PAGE_HEADER::setPageFree(unsigned short pageFree) {
    page_free = pageFree;
}

unsigned short PAGE_HEADER::getPageGarbage() const {
    return page_garbage;
}

void PAGE_HEADER::setPageGarbage(unsigned short pageGarbage) {
    page_garbage = pageGarbage;
}

unsigned short PAGE_HEADER::getPageNRecs() const {
    return page_n_recs;
}

void PAGE_HEADER::setPageNRecs(unsigned short pageNRecs) {
    page_n_recs = pageNRecs;
}

unsigned short PAGE_HEADER::getPageLevel() const {
    return page_level;
}

void PAGE_HEADER::setPageLevel(unsigned short pageLevel) {
    page_level = pageLevel;
}